import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useStore = defineStore('val', () => {
  const status = ref(1)  // 1.自接  2.统接 3.BSL  4.零部件
  const operation = ref(1) //1.查看  2.编辑  3.新建  4.复用 5.审核 6.打印 7.下载
  const id = ref('')
  const name = ref('')
  const path = ref('')
  return { status, operation, id, name, path }
})
